home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Software Contest 3
/
FM Towns Software Contest 3.iso
/
exp
/
astral
/
a1
/
game
/
source
/
obj1.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-01-07
|
7KB
|
326 lines
#include "wire3d.h"
WIRE_OBJECT Object[10]={
// ビックバイパー(?) 0
{
COLOR(20,8,26),
200,
36,
{ -16, 0, 200, // 左翼
-16, 10, 0,
-16, -10, 0,
-16, 10,-120,
-16, -10,-120,
-70, 0, 0,
-70, 0,-110,
-120, 0, -80,
-120, 0,-110,
16, 0, 200, // 右翼
16, 10, 0,
16, -10, 0,
16, 10,-120,
16, -10,-120,
70, 0, 0,
70, 0,-110,
120, 0, -80,
120, 0,-110,
0, 20,-130, // 尾翼
0, 20, -40,
0, 70,-140,
0, 70,-120,
-10, 20,-130, // ノズル
-16, 5,-130,
-10, -10,-130,
10, 20,-130,
16, 5,-130,
10, -10,-130,
-10, 20, 0, // 胴体
-10, -10, 0,
10, 20, 0,
10, -10, 0,
-6, 3, 100, // キャノピー
-6, -5, 90,
6, 3, 100,
6, -5, 90},
45,
{0,1, 0,2, 1,3, 2,4, 3,4, 0,5, 5,6, 3,6, 4,6, 5,7, 6,8, 7,8,
9,10, 9,11, 10,12, 11,13, 12,13, 9,14, 14,15, 12,15, 13,15,
14,16, 15,17, 16,17,
18,20, 20,21, 21,19,
22,23, 23,24, 25,26, 26,27, 22,25, 24,27, 22,28, 24,29, 25,30,
27,31, 28,32, 32,33, 33,29, 30,34, 34,35, 35,31, 33,35, 28,30}
}
,
// ロードブリティッシュ(?) 1
{
COLOR(12,26,10),
200,
32,
{ 0, 16,-130, // 胴体
- 12, 0,-130,
12, 0,-130,
0, -16,-130,
0, 16, 0,
0, 16, 40,
0, 10, 80,
0, 0, 200,
- 12, 0, 70,
12, 0, 70,
0, -16, 40,
0, 16,- 40, // 尾翼
0, 70,-120,
0, 70,-140,
- 12, 12,-130, // 左翼
- 40, 0,-130,
- 12,- 12,-130,
- 12, 12, 20,
- 40, 0, 0,
- 12,- 12, 20,
- 60, 60,-140,
-120,- 16,-110,
-120,- 16,-140,
12, 12,-130, // 右翼
40, 0,-130,
12,- 12,-130,
12, 12, 20,
40, 0, 0,
12,- 12, 20,
60, 60,-140,
120,- 16,-110,
120,- 16,-140},
49,
{0,1, 0,2, 1,3, 2,3, 0,4, 4,5, 5,6, 6,7, 6,8, 6,9, 4,8, 4,9,
7,8, 7,9, 7,10, 10,3, 11,12, 12,13, 13,0, 2,9, 1,8,
14,15, 15,16, 17,18, 18,19, 14,17, 16,19, 15,20, 20,18,
18,21, 21,22, 22,15, 14,16, 17,19, 15,18,
23,24, 24,25, 26,27, 27,28, 23,26, 25,28, 24,29, 29,27,
27,30, 30,31, 31,24, 23,25, 26,28, 24,27}
}
,
// レーザー 2
{
COLOR(12,0,31),
500,
20,
{ -5, 0,-500,
-5, 0, 500,
-4, 0,-500,
-4, 0, 500,
-3, 0,-500,
-3, 0, 500,
-2, 0,-500,
-2, 0, 500,
-1, 0,-500,
-1, 0, 500,
0, 0,-500,
0, 0, 500,
1, 0,-500,
1, 0, 500,
2, 0,-500,
2, 0, 500,
3, 0,-500,
3, 0, 500,
4, 0,-500,
4, 0, 500},
10,
{ 0,1, 2,3, 4,5, 6,7, 8,9, 10,11, 12,13, 14,15, 16,17, 18,19 }
}
,
// レーザー 3
{
COLOR(12,31,0),
500,
20,
{ -5, 0,-500,
-5, 0, 500,
-4, 0,-500,
-4, 0, 500,
-3, 0,-500,
-3, 0, 500,
-2, 0,-500,
-2, 0, 500,
-1, 0,-500,
-1, 0, 500,
0, 0,-500,
0, 0, 500,
1, 0,-500,
1, 0, 500,
2, 0,-500,
2, 0, 500,
3, 0,-500,
3, 0, 500,
4, 0,-500,
4, 0, 500},
10,
{ 0,1, 2,3, 4,5, 6,7, 8,9, 10,11, 12,13, 14,15, 16,17, 18,19 }
}
,
// 通路のデータ:直進 4
{
COLOR(24,20,26),
800,
30,
{-320, 200, 800,
-400, 160, 800,
-400,-160, 800,
-320,-200, 800,
320, 200, 800,
400, 160, 800,
400,-160, 800,
320,-200, 800,
-320, 200, 0,
-400, 160, 0,
-400,-160, 0,
-320,-200, 0,
320, 200, 0,
400, 160, 0,
400,-160, 0,
320,-200, 0,
-320, 200,-800,
-400, 160,-800,
-400,-160,-800,
-320,-200,-800,
320, 200,-800,
400, 160,-800,
400,-160,-800,
320,-200,-800,
-160,-200, 800,
160,-200, 800,
-160,-200, 0,
160,-200, 0,
-160,-200,-800,
160,-200,-800},
34,
{ 0,1, 1,2, 2,3, 7,6, 6,5, 5,4, 0,4, 3,7,
8,9, 9,10, 10,11, 15,14, 14,13, 13,12,
0,8, 1,9, 2,10, 3,11, 4,12, 5,13, 6,14, 7,15,
8,16, 9,17, 10,18, 11,19, 12,20, 13,21, 14,22, 15,23,
24,26, 25,27, 26,28, 27,29}
}
,
// カタパルト 5
{
COLOR(24,20,26),
800,
18,
{-400,-160, 800,
-320,-200, 800,
320,-200, 800,
400,-160, 800,
-400,-160, 0,
-320,-200, 0,
320,-200, 0,
400,-160, 0,
-400,-160,-800,
-320,-200,-800,
320,-200,-800,
400,-160,-800,
-160,-200, 800,
160,-200, 800,
-160,-200, 0,
160,-200, 0,
-160,-200,-800,
160,-200,-800},
17,
{ 0,1, 1,2, 2,3, 4,5, 6,7,
0,4, 4,8, 1,5, 5,9, 2,6, 6,10, 3,7, 7,11,
12,14, 14,16, 13,15, 15,17}
}
,
// 敵機1 6
{
COLOR(16,26,12),
100,
15,
{- 16, 0, 100,
- 80, 0,-100,
- 16, 16,-100,
- 16,- 16,-100,
16, 0, 100,
80, 0,-100,
16, 16,-100,
16,- 16,-100,
0, 0, 20,
- 16, 8, -80,
16, 8, -80,
0,- 16, -60,
0,- 16, -80,
0,-120, -70,
0,-120, -75},
22,
{0,1, 0,2, 0,3, 1,2, 1,3, 2,3,
4,5, 4,6, 4,7, 5,6, 5,7, 6,7,
8,9, 8,10, 8,11, 9,10, 11,12, 9,12, 10,12, 11,13, 13,14, 14,12}
}
,
// 味方戦艦 7
{
COLOR(16,8,31),
10000,
26,
{- 3000, 500, 10000,
3000, 500, 10000,
- 3000, 500,-10000,
3000, 500,-10000,
- 3000, 0, 10000,
3000, 0, 10000,
- 3000, -500, 4000,
3000, -500, 4000,
- 3000, -500,-10000,
3000, -500,-10000,
- 1000, 500, 10000,
1000, 500, 10000,
- 1000, 400, 12000,
1000, 400, 12000,
- 1000,- 400, 11000,
1000,- 400, 11000,
- 1000,- 1000, 8000,
1000,- 1000, 8000,
- 1000,- 1000,-10000,
1000,- 1000,-10000,
- 1000,- 500,-10000,
1000,- 500,-10000,
- 1000, 0, 10000,
1000, 0, 10000,
- 1000,- 500, 4000,
1000,- 500, 4000},
36,
{0,10, 1,11, 0,2, 1,3, 2,3, 0,4, 1,5, 4,6, 5,7, 6,8, 7,9, 2,8, 3,9,
4,22, 23,5, 10,12, 11,13, 12,13, 12,14, 13,15, 14,15, 14,16, 15,17,
16,18, 17,19, 18,20, 19,21, 18,19, 8,20, 9,21, 10,22, 11,23,
22,24, 23,25, 24,20, 25,21}
}
,
// ミサイル 8
{
COLOR(12,31,12),
80,
13,
{ 0, 0, 80,
-20, 0, 0,
0,-20, 0,
20, 0, 0,
0, 20, 0,
-20, 0,-80,
0,-20,-80,
20, 0,-80,
0, 20,-80,
-48, 0,-80,
0,-48,-80,
48, 0,-80,
0, 48,-80},
24,
{0,1, 0,2, 0,3, 0,4, 1,2, 2,3, 3,4, 4,1,
1,5, 2,6, 3,7, 4,8, 5,6, 6,7, 7,8, 8,5,
1,9, 9,5, 2,10, 10,6, 3,11, 11,7, 4,12, 12,8}
}
};